﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace test_6_17
{
    class Cat
    {
        private double weight;
        private int age;
        private String color;
        public Cat(double weight, int age, string color)
        {
            this.weight = weight;
            this.age = age;
            this.color = color;
        }
        public String getCat()
        {
            return "体重："+weight.ToString()+"、年龄："+age.ToString()+"、颜色："+color.ToString();
        }
    }
}
